(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     16432,        580]
NotebookOptionsPosition[     11791,        432]
NotebookOutlinePosition[     13994,        489]
CellTagsIndexPosition[     13909,        484]
WindowTitle->FCAttachTypesettingRule
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[{
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "See Also",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"See Also", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FCRemoveTypesettingRules\"\>":>
       Documentation`HelpLookup[
       "paclet:FeynCalc/ref/FCRemoveTypesettingRules"]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"SeeAlso"]],
      LineSpacing->{1.4, 0}],
     "\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\[ThickSpace]\
\[ThickSpace]",
     Cell[BoxData[
      ActionMenuBox[
       FrameBox[
        InterpretationBox[Cell[TextData[{
          "URL",
          StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
           StripOnInput->False]
         }]],
         TextCell[
          Row[{"URL", 
            Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
        StripOnInput->False], {"\<\"FeynCalc/ref/FCAttachTypesettingRule\"\>":>
       None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell["FeynCalc/ref/FCAttachTypesettingRule"]}, Visible -> 
            False]]; SelectionMove[
         DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; Null], 
       Delimiter, "\<\"Copy web URL\"\>":>
       Module[{DocumentationSearch`Private`nb$}, 
        DocumentationSearch`Private`nb$ = NotebookPut[
           Notebook[{
             Cell[
              BoxData[
               MakeBoxes[
                Hyperlink[
                "http://reference.wolfram.com/language/FeynCalc/ref/\
FCAttachTypesettingRule.html"], StandardForm]], "Input", TextClipboardType -> 
              "PlainText"]}, Visible -> False]]; 
        SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
        FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
        NotebookClose[DocumentationSearch`Private`nb$]; 
        Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
         NotebookLocate[{
           URL[
            StringJoin[
             If[
              TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$92799], 
              "http://reference.wolfram.com/system-modeler/", 
              "http://reference.wolfram.com/language/"], 
             "FeynCalc/ref/FCAttachTypesettingRule", ".html"]], None}]}]},
       Appearance->None,
       MenuAppearance->Automatic,
       MenuStyle->"URLMenu"]],
      LineSpacing->{1.4, 0}]
    }], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["FCAttachTypesettingRule", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"FCAttachTypesettingRule", "[", 
       RowBox[{"expr", ",", " ", "..."}], "]"}]], "InlineFormula"],
     " \[LineSeparator]attaches a specific TraditionalForm typesetting rule \
to expr. It doesn't change any properties of expr apart from adding a \
FormatValue with a MakeBoxes rule."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->958996106],

Cell["", "SectionHeaderSpacer"],

Cell["Following choices are possible:", "Notes",
 CellID->1067943069],

Cell["\<\
FCAttachTypesettingRule[expr_, str]
FCAttachTypesettingRules[expr, {SubscriptBox, var, sub}]
FCAttachTypesettingRules[expr, {SuperscriptBox, var, sup}]
FCAttachTypesettingRules[expr, {SubsuperscriptBox, var, sub, sup}]\
\>", "Notes",
 CellID->272772993],

Cell["\<\
Use FCRemoveTypesettingRules to remove all typesetting rules attached to expr.\
\>", "Notes",
 CellID->2027770141]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->995614222],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->697479901],

Cell[CellGroupData[{

Cell[BoxData["mu"], "Input",
 CellLabel->"In[1]:=",
 CellID->1936456490],

Cell[BoxData[
 FormBox["mu", TraditionalForm]], "Output",
 ImageSize->{23, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]=",
 CellID->1384497776]
}, Open  ]],

Cell[BoxData[
 RowBox[{"FCAttachTypesettingRule", "[", 
  RowBox[{"mu", ",", "\"\<\[Mu]\>\""}], "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->1562186645],

Cell[CellGroupData[{

Cell[BoxData["mu"], "Input",
 CellLabel->"In[3]:=",
 CellID->40423038],

Cell[BoxData[
 FormBox["\[Mu]", TraditionalForm]], "Output",
 ImageSize->{14, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[3]=",
 CellID->2003189628]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"mc", "[", "\"\<d_ss\>\"", "]"}]], "Input",
 CellLabel->"In[4]:=",
 CellID->1431688149],

Cell[BoxData[
 FormBox[
  RowBox[{"mc", "(", "\<\"d_ss\"\>", ")"}], TraditionalForm]], "Output",
 ImageSize->{61, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[4]=",
 CellID->1291154918]
}, Open  ]],

Cell[BoxData[
 RowBox[{"FCAttachTypesettingRule", "[", 
  RowBox[{
   RowBox[{"mc", "[", "\"\<d_ss\>\"", "]"}], ",", 
   RowBox[{"{", 
    RowBox[{"SubscriptBox", ",", "\"\<d\>\"", ",", "\"\<ss\>\""}], "}"}]}], 
  "]"}]], "Input",
 CellLabel->"In[5]:=",
 CellID->1994809373],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"mc", "[", "\"\<d_ss\>\"", "]"}]], "Input",
 CellLabel->"In[6]:=",
 CellID->727675022],

Cell[BoxData[
 FormBox[
  SubscriptBox["d", "ss"], TraditionalForm]], "Output",
 ImageSize->{23, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[6]=",
 CellID->1232046431]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData["m12"], "Input",
 CellLabel->"In[7]:=",
 CellID->409716571],

Cell[BoxData[
 FormBox["m12", TraditionalForm]], "Output",
 ImageSize->{30, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[7]=",
 CellID->1939139141]
}, Open  ]],

Cell[BoxData[
 RowBox[{"FCAttachTypesettingRule", "[", 
  RowBox[{"m12", ",", 
   RowBox[{"{", 
    RowBox[{"SubsuperscriptBox", ",", "m", ",", "1", ",", "2"}], "}"}]}], 
  "]"}]], "Input",
 CellLabel->"In[8]:=",
 CellID->737015970],

Cell[CellGroupData[{

Cell[BoxData["m12"], "Input",
 CellLabel->"In[9]:=",
 CellID->1279505267],

Cell[BoxData[
 FormBox[
  SubsuperscriptBox["m", "1", "2"], TraditionalForm]], "Output",
 ImageSize->{27, 20},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[9]=",
 CellID->1604278061]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{"p1", ",", "p2", ",", "p3", ",", "p4"}], "}"}]], "Input",
 CellLabel->"In[10]:=",
 CellID->540293925],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{"p1", ",", "p2", ",", "p3", ",", "p4"}], "}"}], 
  TraditionalForm]], "Output",
 ImageSize->{105, 16},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[10]=",
 CellID->411608320]
}, Open  ]],

Cell[BoxData[
 RowBox[{
  RowBox[{"MapThread", "[", 
   RowBox[{
    RowBox[{
     RowBox[{"FCAttachTypesettingRule", "[", 
      RowBox[{"#1", ",", 
       RowBox[{"{", 
        RowBox[{"SubscriptBox", ",", "\"\<p\>\"", ",", "#2"}], "}"}]}], "]"}],
      "&"}], ",", 
    RowBox[{"{", 
     RowBox[{
      RowBox[{"{", 
       RowBox[{"p1", ",", "p2", ",", "p3", ",", "p4"}], "}"}], ",", 
      RowBox[{"Range", "[", "4", "]"}]}], "}"}]}], "]"}], ";"}]], "Input",
 CellLabel->"In[11]:=",
 CellID->1515379826],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"{", 
  RowBox[{"p1", ",", "p2", ",", "p3", ",", "p4"}], "}"}]], "Input",
 CellLabel->"In[12]:=",
 CellID->1244029258],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    SubscriptBox["p", "1"], ",", 
    SubscriptBox["p", "2"], ",", 
    SubscriptBox["p", "3"], ",", 
    SubscriptBox["p", "4"]}], "}"}], TraditionalForm]], "Output",
 ImageSize->{110, 17},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[12]=",
 CellID->1467760810]
}, Open  ]],

Cell[BoxData[{
 RowBox[{"FCRemoveTypesettingRules", "[", "mu", 
  "]"}], "\[IndentingNewLine]", 
 RowBox[{"FCRemoveTypesettingRules", "[", 
  RowBox[{"mc", "[", "\"\<d_ss\>\"", "]"}], "]"}], "\[IndentingNewLine]", 
 RowBox[{"FCRemoveTypesettingRules", "[", "m12", "]"}], "\[IndentingNewLine]", 
 RowBox[{
  RowBox[{"FCRemoveTypesettingRules", "/@", 
   RowBox[{"{", 
    RowBox[{"p1", ",", "p2", ",", "p3", ",", "p4"}], "}"}]}], 
  ";"}], "\[IndentingNewLine]"}], "Input",
 CellLabel->"In[13]:=",
 CellID->1598574001]
}, Open  ]],

Cell["", "SectionFooterSpacer"]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "See Also"
}], "SeeAlsoSection",
 WholeCellGroupOpener->True,
 CellID->1255426704],

Cell[TextData[StyleBox[ButtonBox["FCRemoveTypesettingRules",
 BaseStyle->"Link",
 ButtonData->"paclet:FeynCalc/ref/FCRemoveTypesettingRules",
 ButtonNote->"FCRemoveTypesettingRules"],
 FontFamily->"Verdana"]], "SeeAlso",
 CellID->830480392]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"FCAttachTypesettingRule",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 5, 1.935881}", 
    "history" -> {"9.3", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "FCAttachTypesettingRule[expr, ...] attaches a specific TraditionalForm \
typesetting rule to expr. It doesn't change any properties of expr apart from \
adding a FormatValue with a MakeBoxes rule.", "synonyms" -> {}, 
    "tabletags" -> {}, "title" -> "FCAttachTypesettingRule", "titlemodifier" -> 
    "", "windowtitle" -> "FCAttachTypesettingRule", "type" -> "Symbol", "uri" -> 
    "FeynCalc/ref/FCAttachTypesettingRule"}, "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[5898, 180, 387, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->995614222]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 13766, 477}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[595, 21, 3116, 76, 53, "AnchorBarGrid",
 CellID->1],
Cell[3714, 99, 300, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[4039, 114, 548, 14, 102, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[4612, 132, 738, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->958996106],
Cell[5353, 158, 31, 0, 70, "SectionHeaderSpacer"],
Cell[5387, 160, 69, 1, 70, "Notes",
 CellID->1067943069],
Cell[5459, 163, 263, 6, 70, "Notes",
 CellID->272772993],
Cell[5725, 171, 124, 3, 70, "Notes",
 CellID->2027770141]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[5898, 180, 387, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->995614222],
Cell[CellGroupData[{
Cell[6310, 199, 195, 6, 26, "ExampleSection",
 CellID->697479901],
Cell[CellGroupData[{
Cell[6530, 209, 72, 2, 27, "Input",
 CellID->1936456490],
Cell[6605, 213, 188, 6, 35, "Output",
 CellID->1384497776]
}, Open  ]],
Cell[6808, 222, 156, 4, 27, "Input",
 CellID->1562186645],
Cell[CellGroupData[{
Cell[6989, 230, 70, 2, 27, "Input",
 CellID->40423038],
Cell[7062, 234, 191, 6, 37, "Output",
 CellID->2003189628]
}, Open  ]],
Cell[CellGroupData[{
Cell[7290, 245, 110, 3, 29, "Input",
 CellID->1431688149],
Cell[7403, 250, 227, 7, 37, "Output",
 CellID->1291154918]
}, Open  ]],
Cell[7645, 260, 274, 8, 29, "Input",
 CellID->1994809373],
Cell[CellGroupData[{
Cell[7944, 272, 109, 3, 29, "Input",
 CellID->727675022],
Cell[8056, 277, 210, 7, 37, "Output",
 CellID->1232046431]
}, Open  ]],
Cell[CellGroupData[{
Cell[8303, 289, 72, 2, 27, "Input",
 CellID->409716571],
Cell[8378, 293, 189, 6, 35, "Output",
 CellID->1939139141]
}, Open  ]],
Cell[8582, 302, 232, 7, 27, "Input",
 CellID->737015970],
Cell[CellGroupData[{
Cell[8839, 313, 73, 2, 27, "Input",
 CellID->1279505267],
Cell[8915, 317, 219, 7, 41, "Output",
 CellID->1604278061]
}, Open  ]],
Cell[CellGroupData[{
Cell[9171, 329, 140, 4, 27, "Input",
 CellID->540293925],
Cell[9314, 335, 262, 9, 37, "Output",
 CellID->411608320]
}, Open  ]],
Cell[9591, 347, 509, 16, 45, "Input",
 CellID->1515379826],
Cell[CellGroupData[{
Cell[10125, 367, 141, 4, 27, "Input",
 CellID->1244029258],
Cell[10269, 373, 352, 12, 38, "Output",
 CellID->1467760810]
}, Open  ]],
Cell[10636, 388, 517, 12, 97, "Input",
 CellID->1598574001]
}, Open  ]],
Cell[11168, 403, 31, 0, 29, "SectionFooterSpacer"]
}, Open  ]],
Cell[CellGroupData[{
Cell[11236, 408, 270, 12, 31, "SeeAlsoSection",
 CellID->1255426704],
Cell[11509, 422, 240, 5, 56, "SeeAlso",
 CellID->830480392]
}, Open  ]],
Cell[11764, 430, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

